package com.sokal.easycare.modules.position.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sokal.easycare.common.persistence.Page;
import com.sokal.easycare.common.service.CrudService;
import com.sokal.easycare.modules.position.entity.ServiceOffer;
import com.sokal.easycare.modules.position.dao.ServiceOfferDao;

/**
 * 岗位职责Service
 * @author yangmin
 * @version 2017-04-05
 */
@Service
@Transactional(readOnly = true)
public class ServiceOfferService extends CrudService<ServiceOfferDao, ServiceOffer> {

	public ServiceOffer get(String id) {
		return super.get(id);
	}
	
	public List<ServiceOffer> findList(ServiceOffer serviceOffer) {
		return super.findList(serviceOffer);
	}
	
	public Page<ServiceOffer> findPage(Page<ServiceOffer> page, ServiceOffer serviceOffer) {
		return super.findPage(page, serviceOffer);
	}
	
	@Transactional(readOnly = false)
	public void save(ServiceOffer serviceOffer) {
		super.save(serviceOffer);
	}
	
	@Transactional(readOnly = false)
	public void delete(ServiceOffer serviceOffer) {
		super.delete(serviceOffer);
	}
	
}